<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex align-stretch benben-position-layout flex convertSuccess_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex align-center justify-between flex-sub convertSuccess_fd0_0'>
          <view class='flex align-center convertSuccess_fd0_0_c0'>
            <text class='fu-iconfont2  convertSuccess_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex align-center'>
          </view>
          <view class='flex align-center convertSuccess_fd0_0_c0'>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>

      <view class="flex flex-direction flex-wrap align-center benben-flex-layout convertSuccess_flex_1">
        <image class='convertSuccess_fd1_0' mode="aspectFit" :src='STATIC_URL+"311.png"'></image>
        <text class='convertSuccess_fd1_1'>转换成功</text>
        <view class='flex flex-wrap align-center convertSuccess_fd1_2'>
          <text>转换数量: </text>
          <text class='convertSuccess_fd1_2_c1'>{{money}}</text>
          <text>积分</text>
        </view>
        <view class='flex flex-wrap align-center convertSuccess_fd1_3'>
          <text>转换时间：</text>
          <text class='convertSuccess_fd1_3_c1'>{{appSystemDate}}</text>
          <text>{{appSystemTime}}</text>
        </view>
        <button class='convertSuccess_fd1_4'>查看明细</button>
      </view>




    </view>
  </view>
</template>
<script>
  import Dayjs from '@/libs/day.js'
  export default {
    components: {},


    data() {
      return {
        "appCurrentTime": Date.parse(new Date()),
        "appCurrentTimer": null,
        "money": "100"
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },
      appSystemDate() {
        return Dayjs(this.appCurrentTime).format('YYYY-MM-DD')
      },
      appSystemTime() {
        return Dayjs(this.appCurrentTime).format('HH:mm:ss')
      }
    },
    watch: {},
    onLoad(options) {
      let {
        money
      } = options
      if (money !== undefined) this.money = money
      this.appCurrentTimer = setTimeout(() => {
        this.appCurrentTime = Date.parse(new Date())
      }, 1000)
    },
    onUnload() {
      clearTimeout(this.appCurrentTimer)
    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {

    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: var(--benbenbgColor1);
    background-size: 100% auto;
  }

  .convertSuccess_flex_0 {
    border-bottom: 1px solid #eee;
    background: var(--benbenbgColor1);
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .convertSuccess_fd0_0_c0_c0 {
    font-size: 32rpx;
    font-weight: 500;
    color: #333;
  }

  .convertSuccess_fd0_0_c0 {
    width: 180rpx;
  }

  .convertSuccess_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
    line-height: 88rpx;
  }

  .convertSuccess_flex_1 {
    padding: 185rpx 0rpx 0rpx 0rpx;
  }

  .convertSuccess_fd1_4 {
    background: var(--benbenbgColor7);
    border-radius: 44rpx 44rpx 44rpx 44rpx;
    width: 280rpx;
    line-height: 72rpx;
    font-size: 28rpx;
    color: #fff;
    margin: 73rpx 0rpx 73rpx 0rpx;
    height: 72rpx;
  }

  .convertSuccess_fd1_3_c1 {
    margin: 0rpx 8rpx 0rpx 0rpx;
  }

  .convertSuccess_fd1_3 {
    font-size: 28rpx;
    font-weight: 400;
    color: rgba(102, 102, 102, 1);
  }

  .convertSuccess_fd1_2_c1 {
    margin: 0rpx 0rpx 0rpx 8rpx;
  }

  .convertSuccess_fd1_2 {
    font-size: 28rpx;
    font-weight: 400;
    color: rgba(102, 102, 102, 1);
    margin: 30rpx 0rpx 30rpx 0rpx;
    line-height: 45rpx;
  }

  .convertSuccess_fd1_1 {
    font-size: 36rpx;
    font-weight: 700;
    color: #333;
  }

  .convertSuccess_fd1_0 {
    width: 250rpx;
    height: 180rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    margin: 0rpx 0rpx 40rpx 0rpx;
  }
</style>